package com.hl.taxinfo.dao;

import java.util.List;

import com.hl.taxinfo.model.ZyClass;

public interface ZyClassDAO {

	public abstract void save(ZyClass transientInstance);

	public abstract void delete(ZyClass persistentInstance);

	public abstract ZyClass findById(java.lang.Integer id);

	public abstract List findByExample(ZyClass instance);

	public abstract List findByProperty(String propertyName, Object value);

	public abstract List findByClassPid(Object classPid);

	public abstract List findByClassName(Object className);

	public abstract List findByClassInfo(Object classInfo);

	public abstract List findAll();

	public abstract ZyClass merge(ZyClass detachedInstance);

	public abstract void attachDirty(ZyClass instance);

	public abstract void attachClean(ZyClass instance);
	
	public void update(ZyClass transientInstance);

}